package com.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import java.io.Serializable;
@TableName(value ="t_user")
@Data
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String uname;
    @JsonIgnore
    private String upwd;
    private String phone;
    private String edu;
    private Integer age;
    private String title;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
@TableField(exist = false)
    private Integer[] rids;
}